<!doctype html>
<html lang="en">
  <head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.0/dist/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">

    <title>投票系统-管理员</title>
  </head>
  <body>
<div class="container pl-4 pr-4 pt-4">
    <div class="alert alert-success" role="alert">
        提示信息.
    </div>
    <div class="card text-center">
      <div class="card-header">
          投票任务控制
      </div>
      <div class="card-body">
          <form>
              <div class="form-group">
                <label for="exampleInputEmail1">被投票人姓名</label>
                <input type="text" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp">
              </div>
              <button type="submit" class="btn btn-primary">发布任务</button>
            </form>
      </div>
    </div>
</div>
<div class="container pl-4 pr-4 pt-4">
    <div class="card text-center">
      <div class="card-header">
          当前投票信息
      </div>
      <div class="card-body">
         <h5 class="card-title">王小虎</h5>
         <p class="card-text">同意:10人<br>弃权:0人<br>反对:0人</p>
      </div>
    </div>
</div>
<div class="container pl-4 pr-4 pt-4">
    <div class="card text-center">
      <div class="card-header">
          控制台
      </div>
      <div class="card-body">
          <a href="stop_all" class="btn btn-primary">停止当前投票</a>
          <a href="show_history" class="btn btn-primary">历史投票信息</a>
      </div>
    </div>
</div>
    <!-- Optional JavaScript -->
    <!-- jQuery first, then Popper.js, then Bootstrap JS -->
    <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
    <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.0/dist/js/bootstrap.min.js" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous"></script>
  </body>
</html>
